<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [
    //图纸筛选建筑层数
    "numberBuildings"   =>  [
        [
            'config_id' =>  "1",
            'config_name'   =>  "一层",
            'screen_all'   =>  "ycbs",
            'screen_one'   =>  "cs1",
        ],
        [
            'config_id' =>  "2",
            'config_name'   =>  "二层",
            'screen_all'   =>  "ecbs",
            'screen_one'   =>  "cs2",
        ],
        [
            'config_id' =>  "3",
            'config_name'   =>  "三层",
            'screen_all'   =>  "scbs",
            'screen_one'   =>  "cs3",
        ],
        [
            'config_id' =>  "4",
            'config_name'   =>  "四层",
            'screen_all'   =>  "scbs",
            'screen_one'   =>  "cs4",
        ],
        [
            'config_id' =>  "5",
            'config_name'   =>  "四层以上",
            'screen_all'   =>  "scys",
            'screen_one'   =>  "cs5",
        ],
    ],
    //图纸排序
    "drawingOrder"   =>  [
        [
            'order_id' =>  "1",
            'order_name'   =>  "人气递增",
            'type' => 'reading_number',
            'type_order' => 'asc'
        ],
        [
            'order_id' =>  "2",
            'order_name'   =>  "人气递减",
            'type' => 'reading_number',
            'type_order' => 'desc'
        ],
        [
            'order_id' =>  "3",
            'order_name'   =>  "面积递增",
            'type' => 'jarea',
            'type_order' => 'asc'
        ],
        [
            'order_id' =>  "4",
            'order_name'   =>  "面积递减",
            'type' => 'jarea',
            'type_order' => 'desc'
        ],
        [
            'order_id' =>  "5",
            'order_name'   =>  "价格递增",
            'type' => 'price',
            'type_order' => 'asc'
        ],
        [
            'order_id' =>  "6",
            'order_name'   =>  "价格递减",
            'type' => 'price',
            'type_order' => 'desc'
        ],
        [
            'order_id' =>  "7",
            'order_name'   =>  "最新递增",
            'type' => 'update_time',
            'type_order' => 'asc'
        ],
        [
            'order_id' =>  "8",
            'order_name'   =>  "最新递减",
            'type' => 'update_time',
            'type_order' => 'desc'
        ],
    ],

    //消息
    "msgDomain" => "msg.stbieshu.com",

    //用户socketDate盐值配置
    'socketDate' => 'BSGC_HNST_DATE',

    //crm接口参数
    'ImgApiData'                =>  [
        'key'                   =>  'f273e0ede2c2e57cb13343426c5c860c',//秘钥
        'domain'                =>  'http://new.stbieshu.com',//域名
        'ApiList'               =>  [//接口列表
            'imgList'               =>  'Api/Imgs/imgList',//图纸列表接口地址
            'getConfigList'         =>  'Api/Imgs/getConfigList',//同步接口图纸配置列表
            'addressList'           =>  'Api/Address/addressList',//地址接口
            'messgeList'            => 'Api/Messages/sendSms',//发送短信接口
            'designerList'          => 'Api/Designers/designerList',//获取设计师列表接口
            'customCase'            => 'Api/Imgs/customCase',//获取项目案例
            'getRoom'            => 'Api/Msgs/getRoom',//获取聊天人
        ],
    ],

    'http_exception_template'    =>  [
        // 定义404错误的重定向页面地址
        404 =>  APP_PATH.'index/view/public/404.html',
    ]
];
